VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Wpf.UI Namespace / WpfPdfVisualTool Class / PointsFromPageSpaceToVisualToolSpace Methods / PointsFromPageSpaceToVisualToolSpace(WpfImageViewer,VintasoftImage,Point[]) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointsFromPageSpaceToVisualToolSpace(WpfImageViewer,VintasoftImage,Point[]) Method (WpfPdfVisualTool)
    In This Topic
    Converts points from the PDF page coordinate space to the visual tool coordinate space.
    Syntax
    'Declaration
    
    Public Overloads Shared Sub PointsFromPageSpaceToVisualToolSpace( _
    ByVal viewer
    WPF image viewer.
    As Vintasoft.Imaging.Wpf.UI.WpfImageViewer, _
    ByVal image
    An image associated with PDF page.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal points
    Provides points, in the PDF page coordinate space, to convert; returns the converted points, in the visual tool coordinate space.
    () As System.Windows.Point _
    )
    public static void PointsFromPageSpaceToVisualToolSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer viewer,
    Vintasoft.Imaging.VintasoftImage image,
    System.Windows.Point[] points
    )
    public: static void PointsFromPageSpaceToVisualToolSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer* viewer,
    Vintasoft.Imaging.VintasoftImage* image,
    System.Windows.Point[]* points
    )
    public:
    static void PointsFromPageSpaceToVisualToolSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer^ viewer,
    Vintasoft.Imaging.VintasoftImage^ image,
    array<System.Windows.Point>^ points
    )

    Parameters

    viewer
    WPF image viewer.
    image
    An image associated with PDF page.
    points
    Provides points, in the PDF page coordinate space, to convert; returns the converted points, in the visual tool coordinate space.
    Exceptions
    ExceptionDescription
    Thrown if focused image is not a PDF page.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also